﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SilverlightApplication1
{
  public partial class MainPage : UserControl
  {

    public MainPage()
    {


      InitializeComponent();

      Jprl a = new Jprl()
      {
        TypJprl = TypJprlEnum.psk,
        LhcKod = 111000,
        Odd = 800,
        OddId = 0,
        Dil = "A",
        Por = "a",
        Maj = 3,
        Katuze = -999999,
        PskBzlJpOp = "1a"
      };

      string te = a.ToJson();



    }


    //testovaci funkce
    private void go(object sender, RoutedEventArgs e)
    {


      Class1.loadXap("test.xap", UriKind.Relative);

      return;


    }



  }
}
